<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Admin/LiveChannel/index')}">频道列表</a></li>
			<li><a href="{:U('Admin/LiveChannel/add')}">添加频道</a></li>
			<li class="active"><a>修改频道</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('Admin/LiveChannel/edit_post')}">
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">频道名称：</label>
					<div class="span3">
						<input type="text" name="channel_name" value="{$channel_name}">
					</div>
					<input type="hidden" name="status" value="{$status}" />
					<label class="span1 control-label" style="width: 70px; margin-left: 10px;">设备类型：</label>
					<div class="span3" style="width: 50px; margin-left: 10px;">
						<select name="device_type" disabled  style="width: 70px;">
						    <option value="1" <if condition="$device_type eq 1"> selected </if>>VR</option>
						    <option value="2" <if condition="$device_type eq 2"> selected </if>>普通</option>
						    <option value="3" <if condition="$device_type eq 3"> selected </if>>手机</option>
						</select>
					</div>
					<label class="span1 control-label" style="width: 90px; ">采集端频道:</label>
					<div class="span3" disabled>
						<select name="channel_type" disabled style="width: 70px;">
							<option value="0" <if condition="$type eq 0"> selected </if>>否</option>
							<option value="1" <if condition="$type eq 1"> selected </if>>是</option>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">负责人姓名：</label>
					<div class="span3">
						<input type="text" name="manager" value="{$manager}">
					</div>
					<label class="span1 control-label" style="width: 90px;">负责人电话：</label>
					<div class="span3">
						<input type="text" name="manager_phone" value="{$manager_phone}">
					</div>
				</div>
				<div class="control-group">
					<label class="span1 control-label" style="width: 90px;">频道描述：</label>
					<div class="span7">
						<textarea style="width: 556px; height: 60px;" name="channel_describe">{$channel_describe}</textarea>
					</div>
				</div>
				
				
			<div class="form-actions" style="padding-left:260px;">
			    <input type="hidden" name="channel_id" value="{$channel_id}" />
				<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				&nbsp;&nbsp;<a class="btn" href="{:U('Admin/LiveChannel/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
</body>
</html>